Trim multiple whitespace characters when pasting#924
Merged
christianlupus merged 4 commits intonextcloud:masterfrom Mar 20, 2022
Merged
Trim multiple whitespace characters when pasting#924christianlupus merged 4 commits intonextcloud:masterfrom
christianlupus merged 4 commits intonextcloud:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #924 +/- ##
=======================================
Coverage 20.20% 20.20%
=======================================
Files 20 20
Lines 1440 1440
=======================================
Hits 291 291
Misses 1149 1149
Flags with carried forward coverage won't be shown. Click here to find out more. |
3210ddf to
b441a87
Compare
Fixes nextcloud#713 Signed-off-by: Marcel Robitaille <mail@marcelrobitaille.me>
Signed-off-by: Marcel Robitaille <mail@marcelrobitaille.me>
Signed-off-by: Marcel Robitaille <mail@marcelrobitaille.me>
b441a87 to
9f6eab9
Compare
9f6eab9 to
9903c69
Compare
Collaborator
christianlupus
left a comment
There was a problem hiding this comment.
I suggest to trim each line additionally. Let's have the example to paste:
100 g Reis
50 ml Wasser
1 Prise Salz
This will cause a single space before the 2nd and 3rd row.
Signed-off-by: Marcel Robitaille <mail@marcelrobitaille.me>
f359c44 to
0eae3f8
Compare
christianlupus
approved these changes
Mar 20, 2022
Collaborator
christianlupus
left a comment
There was a problem hiding this comment.
Seems good to me. LGTM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #713
Now, when multiple whitespace characters appear when pasting recipe ingredients, instructions, etc. they are replace by a single space.